package com.qiye.livevideo.controller;

import org.springframework.stereotype.Controller;

import java.util.UUID;

/**
 * @program: livevideo
 * @Date: 2019/5/3 9:37
 * @Author: tongling
 * @Description:
 */
@Controller
public class BaseController {

    /**
     * 生成32位UUID
     * @return
     */
    protected String UUID(){return UUID.randomUUID().toString().toUpperCase().replaceAll("-", "");}

}
